package net.huazai.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @author 11987
 */
@Data
@ApiModel(value = "修改收货地址对象", description = "修改收货地址对象")
@Slf4j
public class AddressEditEntity {
    /**
     * 收货地址id
     */
    @ApiModelProperty(value = "地址id", example = "1")
    private Long id;

    /**
     * 是否默认收货地址：0否 1是
     */
    @ApiModelProperty(value = "是否默认收货地址：0否 1是", example = "0")
    @JsonProperty("default_status")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @ApiModelProperty(value = "收发货人姓名", example = "华仔")
    @JsonProperty("receive_name")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "收货人电话", example = "15810907859")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty(value = "省/直辖市", example = "北京市")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市", example = "北京市")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区", example = "昌平区")
    private String region;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", example = "老王隔壁 110 号")
    @JsonProperty("detail_address")
    private String detailAddress;
}

